Skip to content

Conversation

@adityachoudhari26
Copy link
Contributor

@adityachoudhari26 adityachoudhari26 commented Mar 15, 2025

Summary by CodeRabbit

  • Chores
    • Standardized internal module references by updating component paths across the application. These changes streamline the codebase and improve maintainability while keeping functionality and the user experience fully intact.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Mar 15, 2025

Walkthrough

This pull request refactors numerous import statements throughout the webservice application. In every affected file, references to components, hooks, and utilities that previously imported from an (appv2) directory are updated to use the (app) directory. The changes cover files within checks, jobs, deployments, environments, resources, sidebars, and shared component modules without modifying any runtime functionality or control flow.

Changes

File(s) Change Summary
apps/webservice/src/app/[workspaceSlug]/.../checks/* Updated import paths for flow diagram components (e.g., ApprovalDialog, ArrowEdge, useLayoutAndFitView) from (appv2) to (app).
apps/webservice/src/app/[workspaceSlug]/.../jobs/release-table/* Revised import paths for job-related components and hooks (e.g., ApprovalDialog, JobConditionBadge, JobDropdownMenu) from (appv2) to (app).
apps/webservice/src/app/[workspaceSlug]/.../(deploy)/(sidebar)/* Modified import statements for deployment and sidebar components (e.g., PageHeader, SidebarLink, CreateReleaseDialog) updating from (appv2) to (app).
apps/webservice/src/app/[workspaceSlug]/.../environments/* Changed import paths for environment and policy components (e.g., Tabs, ConfigEditor, MetadataInfo) from (appv2) to (app).
apps/webservice/src/app/[workspaceSlug]/.../resources/(raw)/[resourceId]/* Updated resource-related imports (e.g., ResourceIcon, DeploymentHistoryGraph, useLayoutAndFitView) to reference (app) instead of (appv2).
apps/webservice/src/app/[workspaceSlug]/(app)/_components/** Refactored shared component imports (e.g., TabButton, TableSortHeader, StatusIcon) from (appv2) to (app).

Possibly related PRs

Suggested reviewers

  • jsbroks

Poem

I’m a little rabbit, swift on my feet,
Hopping through code with a rhythmic beat.
From (appv2) to (app), our paths now align,
Neat and refactored—simply divine!
Carrots and code, in harmony they blend,
Cheers to new order, on that you can depend!

Tip

⚡🧪 Multi-step agentic review comment chat (experimental)
  • We're introducing multi-step agentic chat in review comments. This experimental feature enhances review discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments.
    - To enable this feature, set early_access to true under in the settings.
✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b15df2d and aebd7dc.

📒 Files selected for processing (76)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/ApprovalCheck.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/EnvironmentNode.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/FlowDiagram.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/EnvironmentApprovalRow.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/EnvironmentRowDropdown.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/ResourceReleaseTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/layout.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/properties/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/DeploymentPageContent.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/DeploymentCTA.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/JobHistoryPopover.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/ReleaseEnvironmentCell.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/TableCells.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/channels/CreateReleaseChannelDialog.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/channels/ReleaseChannelsTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/layout.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/properties/DeploymentResourcesDialog.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/properties/EditDeploymentSection.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/ConfigFields.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/VariableTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/VariableValueDropdown.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/deployments/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/layout.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/policies/PolicyTabs.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/resources/EditFilterForm.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/resources/EnvironmentResourcesTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/settings/Overview.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/DeploymentGettingStarted.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/TableDeployments.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/environments/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/layout.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowBuilder.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowPanel.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/_components/variables/ConfigFields.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/create/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/settings/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/variables/VariableSetsTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/variables/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/agents/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/deployments/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/SystemsPageContent.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/_components/system-deployment-table/SystemDeploymentTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/_components/system-deployment-table/TableDeployments.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/DeploymentDirectoryCell.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/charts/DeploymentBarChart.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/environment-cell/DeploymentEnvironmentCell.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/environment-cell/ReleaseInfo.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/release/CreateRelease.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/channel/drawer/Overview.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/deployments/deployment-table/DeploymentTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/EnvironmentDrawer.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/Filter.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/policy-override/UpdateOverride.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/job/drawer/JobDrawer.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/policy/drawer/EnvironmentPolicyDrawer.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseCreatedAtConditionRender.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseMetadataConditionRender.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseVersionConditionRender.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/EditResource.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/drawer/OverviewContent.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/drawer/ResourceDrawer.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/layout.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentRow.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentRowSkeleton.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentTable.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/layout.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/properties/page.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/ResourceVisualizationDiagram.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/DeploymentNode.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/EnvironmentNode.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/ResourceNode.tsx (1 hunks)
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(sidebar)/SidebarKinds.tsx (1 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.{ts,tsx}`: **Note on Error Handling:** Avoid strict en...

**/*.{ts,tsx}: Note on Error Handling:
Avoid strict enforcement of try/catch blocks. Code may use early returns, Promise chains (.then().catch()), or other patterns for error handling. These are acceptable as long as they maintain clarity and predictability.

  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentRowSkeleton.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseCreatedAtConditionRender.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseVersionConditionRender.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/DeploymentNode.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/charts/DeploymentBarChart.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/policies/PolicyTabs.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/layout.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/deployments/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/settings/Overview.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(sidebar)/SidebarKinds.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/policy-override/UpdateOverride.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/JobHistoryPopover.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/ApprovalCheck.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/release/CreateRelease.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/EditResource.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/EnvironmentRowDropdown.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/agents/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/create/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseMetadataConditionRender.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/VariableValueDropdown.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/deployments/deployment-table/DeploymentTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/resources/EditFilterForm.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/ResourceVisualizationDiagram.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/job/drawer/JobDrawer.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/properties/EditDeploymentSection.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/environments/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/properties/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/drawer/ResourceDrawer.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/EnvironmentNode.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/VariableTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/DeploymentGettingStarted.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/drawer/OverviewContent.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/Filter.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/EnvironmentApprovalRow.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/layout.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/variables/VariableSetsTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/layout.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/layout.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/ConfigFields.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/EnvironmentDrawer.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/_components/system-deployment-table/SystemDeploymentTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/resources/EnvironmentResourcesTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowPanel.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/_components/system-deployment-table/TableDeployments.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/layout.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/_components/variables/ConfigFields.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/settings/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/ReleaseEnvironmentCell.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/DeploymentDirectoryCell.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/DeploymentCTA.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/deployments/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/environment-cell/ReleaseInfo.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/channels/CreateReleaseChannelDialog.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/channels/ReleaseChannelsTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/TableCells.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/ResourceNode.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/EnvironmentNode.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/SystemsPageContent.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/channel/drawer/Overview.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentRow.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/properties/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/TableDeployments.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/properties/DeploymentResourcesDialog.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/_components/policy/drawer/EnvironmentPolicyDrawer.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/FlowDiagram.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/DeploymentPageContent.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/ResourceReleaseTable.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/variables/page.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowBuilder.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/environment-cell/DeploymentEnvironmentCell.tsx
  • apps/webservice/src/app/[workspaceSlug]/(app)/layout.tsx
🧠 Learnings (6)
apps/webservice/src/app/[workspaceSlug]/(app)/_components/job/drawer/JobDrawer.tsx (1)
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#188
File: apps/webservice/src/app/[workspaceSlug]/_components/release-channel-drawer/Usage.tsx:42-44
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `apps/webservice/src/app/[workspaceSlug]/_components/release-channel-drawer/Usage.tsx`, within the `Usage` component, the arrays used for filtering inherited environments are expected to remain small. Therefore, performance optimizations for this filtering logic are not necessary.
apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/EnvironmentNode.tsx (1)
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#188
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:139-154
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, for the `EnvironmentDrawer` component, when there are only a few `TabButton` instances (e.g., 3), it's acceptable to define them individually without extracting them into a configuration to reduce repetition.
apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/EnvironmentDrawer.tsx (2)
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#188
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:139-154
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, for the `EnvironmentDrawer` component, when there are only a few `TabButton` instances (e.g., 3), it's acceptable to define them individually without extracting them into a configuration to reduce repetition.
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#183
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:55-57
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, we prefer to fetch all data upfront and show a loading indicator until everything is fetched, unless performance becomes an issue.
apps/webservice/src/app/[workspaceSlug]/(app)/_components/policy/drawer/EnvironmentPolicyDrawer.tsx (1)
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#188
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:139-154
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, for the `EnvironmentDrawer` component, when there are only a few `TabButton` instances (e.g., 3), it's acceptable to define them individually without extracting them into a configuration to reduce repetition.
apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowBuilder.tsx (2)
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#188
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:139-154
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, for the `EnvironmentDrawer` component, when there are only a few `TabButton` instances (e.g., 3), it's acceptable to define them individually without extracting them into a configuration to reduce repetition.
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#183
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:55-57
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, we prefer to fetch all data upfront and show a loading indicator until everything is fetched, unless performance becomes an issue.
apps/webservice/src/app/[workspaceSlug]/(app)/layout.tsx (1)
Learnt from: adityachoudhari26
PR: ctrlplanedev/ctrlplane#188
File: apps/webservice/src/app/[workspaceSlug]/_components/environment-drawer/EnvironmentDrawer.tsx:139-154
Timestamp: 2025-03-14T19:06:31.548Z
Learning: In `EnvironmentDrawer.tsx`, for the `EnvironmentDrawer` component, when there are only a few `TabButton` instances (e.g., 3), it's acceptable to define them individually without extracting them into a configuration to reduce repetition.
⏰ Context from checks skipped due to timeout of 90000ms (3)
  • GitHub Check: build (linux/amd64)
  • GitHub Check: Typecheck
  • GitHub Check: Lint
🔇 Additional comments (93)
apps/webservice/src/app/[workspaceSlug]/(app)/resources/(sidebar)/SidebarKinds.tsx (1)

22-22: Refactored Import Path Correctly

The import change for ResourceIcon from the deprecated (appv2) directory to the updated (app) directory aligns with the PR objective. Please verify that the updated path matches the new project structure throughout the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/_components/system-deployment-table/TableDeployments.tsx (1)

24-25: Updated Import Paths Verification

The import paths for both DeploymentDirectoryCell and LazyDeploymentEnvironmentCell have been correctly updated from (appv2) to (app). This aligns with the new directory structure and is consistent with the PR objective.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/EnvironmentNode.tsx (1)

9-9: Correct Update of Import Path

The import statement has been updated correctly from the deprecated (appv2) directory to the new (app) directory. This update aligns with the PR objective and ensures consistency in the project's module structure. No further changes are required for this segment.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentTable.tsx (1)

18-18: Import Path Update - Transition to (app) Directory

The import statement for TableSortHeader has been updated correctly from the old (appv2) path to the new (app) path. This change complies with the PR objective to rename the directory from appv2 to app, and it appears consistent with the rest of the refactor without affecting runtime functionality.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/page.tsx (2)

1-1: Refactored Import Path Correctly
The import statement has been updated to use the (app) directory instead of (appv2), which is aligned with the new directory structure refactoring outlined in the PR objectives.


2-34: No Additional Changes Detected
The rest of the file remains unchanged, and no further modifications are required. The file continues to function as expected with the updated import.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/properties/EditDeploymentSection.tsx (1)

48-48: Updated Import Path Reflects Repository Refactor
The import statement for ResourceConditionRender has been correctly updated from referencing the former (appv2) directory to the new (app) directory. This change aligns with the overall refactor objective to rename appv2 to app and maintains consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/channels/CreateReleaseChannelDialog.tsx (1)

39-40: Refactored Import Paths Updated Successfully
The import paths for ReleaseConditionBadge and ReleaseConditionDialog have been correctly updated from (appv2) to (app). This change aligns with the new directory structure. Please double-check that the new paths resolve correctly and that there are no residual references to the old (appv2) paths across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/VariableTable.tsx (1)

20-20: Correct Import Path Update for ResourceIcon
The updated import path now references the (app) directory instead of the (appv2) directory, which is consistent with the PR objective to rename appv2 to app. This change ensures that the component is imported from the correct, standardized location.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentRow.tsx (2)

17-17: Update Import for LazyDeploymentHistoryGraph

The import path has been correctly updated from (appv2) to (app) to reflect the new directory structure. This change is straightforward and consistent with the overall refactoring approach.


18-18: Update Import for JobTableStatusIcon

The import path for JobTableStatusIcon has been updated accordingly from (appv2) to (app). This change aligns well with the refactoring objective and maintains consistency across similar components.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/Filter.tsx (1)

35-36: Updated Import Paths for Renamed Directory

The import paths for ResourceConditionRender and ResourceList have been correctly updated from the previous (appv2) structure to the new (app) directory. This refactoring aligns perfectly with the PR objective to rename appv2 to app and ensures consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/channel/drawer/Overview.tsx (1)

35-37: Import Path Update:
The import statements have been correctly updated from (appv2) to (app), ensuring that the file now imports ReleaseConditionRender, useReleaseFilter, and ReleaseBadgeList from the new directory structure. This refactor is consistent with the updated project organization.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/EditResource.tsx (1)

34-34: Update Import Path for ConfigEditor

The import has been correctly updated from the (appv2) directory to the (app) directory, aligning with the overall refactoring objective of this PR. This change is consistent with the new project structure.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseMetadataConditionRender.tsx (1)

5-5: Update Import Path to Reflect New Directory Structure

The import path for MetadataConditionRender has been updated from the old (appv2) directory to the new (app) location. This aligns with the PR objectives and ensures that the codebase now references the correct directory structure. Please verify that the updated path resolves correctly in all relevant environments.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/variables/VariableSetsTable.tsx (1)

15-15: Update Import Path for useVariableSetDrawer Hook

The import statement has been correctly updated from (appv2) to (app), fully aligning with the PR objective to rename the directory reference. This ensures the hook is imported from the intended module, reflecting the broader reorganization.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/settings/Overview.tsx (1)

18-18: Import Path Refactoring

The import for the MetadataInfo component has been correctly updated from the old (appv2) directory to (app), which meets the refactoring objective. Please verify that no lingering references to (appv2) remain elsewhere in the codebase to ensure full consistency across the project.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/deployments/deployment-table/DeploymentTable.tsx (1)

12-12: Updated Import Path for TableSortHeader

The import statement has been correctly updated to use the new (app) directory instead of (appv2), aligning with the PR objective. Please ensure that similar changes across the codebase have been uniformly applied.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/environment-cell/DeploymentEnvironmentCell.tsx (1)

16-17: Update Import Paths to Reflect New Directory Structure

The import statements for ApprovalDialog and ReleaseDropdownMenu have been correctly updated from (appv2) to (app). This aligns with the PR objective and ensures consistency across the project.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/DeploymentGettingStarted.tsx (1)

6-6: Updated Import Path for CreateDeploymentDialog
The import path has been correctly updated from the old (appv2) directory to (app), ensuring consistency with the new project structure as outlined in the PR objectives.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/DeploymentPageContent.tsx (1)

43-46: Correctly Updated Import Paths

The updated import paths for:

  • ReleaseConditionBadge
  • ReleaseConditionDialog
  • useReleaseFilter
  • DeploymentDirectoryCell

have been successfully changed from (appv2) to (app) in accordance with the refactoring objective. These modifications are consistent with the PR's intent to reorganize the directory structure without impacting runtime functionality. Please confirm that the components now reside under the updated (app) paths and that all tests related to these components pass.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseCreatedAtConditionRender.tsx (1)

7-7: Update Import Path to Reflect Directory Rename

The updated import path now correctly references the new (app) directory instead of the old (appv2). This aligns with the overall refactoring objective and ensures that the correct component is imported.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/ResourceNode.tsx (1)

6-7: Update Import Paths to New Directory Structure

The import statements on lines 6 and 7 have been correctly updated from the (appv2) directory to the (app) directory. This change is aligned with the PR objective and ensures that the correct modules (useResourceDrawer and ResourceIcon) are imported according to the new folder structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/layout.tsx (1)

25-26: Updated Import Paths Verified

The import paths for both PageHeader and SidebarLink have been correctly updated from (appv2) to (app). This change is consistent with the PR objective of renaming and reorganizing the application structure. Ensure that the actual file structure reflects these new paths during deployment.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/DeploymentDirectoryCell.tsx (1)

16-16: Update Import Path to Reflect Directory Renaming

The import for StatusIcon has been successfully updated from referencing the (appv2) directory to the new (app) directory. This change correctly reflects the updated project structure as outlined in the PR objectives.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/resources/EditFilterForm.tsx (1)

37-37: Import Path Update to Reflect Directory Refactoring

The import statement for ResourceConditionRender has been correctly updated from the old (appv2) directory to the new (app) directory. This change aligns perfectly with the overall objective of renaming the directories. Please verify that downstream references to this component are consistent with this change.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/nodes/DeploymentNode.tsx (1)

9-10: Import Path Update: Transition from appv2 to app

The updated import paths for useDeploymentEnvResourceDrawer and ReleaseIcon now correctly point to the new (app) directory. This refactor aligns with the PR objective of renaming appv2 to app and ensures consistency across the application’s directory structure.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/drawer/OverviewContent.tsx (1)

15-16: Updated Import Paths Correctly

The import paths for both ConfigEditor and MetadataInfo have been updated from the old (appv2) directory to the new (app) directory. This change aligns perfectly with the PR objective, ensuring consistency in the directory structure without impacting runtime functionality.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/layout.tsx (1)

22-23: Update Import Paths to Reflect Directory Renaming

The import paths for both SystemSelector and SidebarLink have been successfully updated from the (appv2) directory to the (app) directory. This change is consistent with the PR objective of renaming appv2 to app across the codebase. Please ensure that all consumers of these components have been updated accordingly.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/environment-cell/ReleaseInfo.tsx (2)

25-26: Approved: Updated Import Paths for Components

The import paths for both DeploymentBarChart and ReleaseDropdownMenu have been correctly updated to use the new (app) directory. This change aligns with the project’s reorganization. Please verify that no lingering references to (appv2) remain in the codebase.


28-30: Approved: Updated Import Path for Status-Color Utility

The import for getStatusColor and statusColor now correctly uses the new (app) directory structure. This update should ensure that the correct utility is referenced. Just confirm that all dependent parts of the code continue to operate as expected with this new path.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/layout.tsx (1)

33-34: Update Import Paths to Reflect New Directory Structure

The import statements for PageHeader and SidebarLink have been correctly updated from (appv2) to (app), in line with the PR objectives for refactoring the directory structure. Please ensure that these changes are consistent with all other usages of these components across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/JobHistoryPopover.tsx (1)

10-10: Updated Import Path for DailyJobsChart

The import path has been updated from (appv2) to (app) as part of the refactoring. This change is consistent with the overall PR objective of renaming appv2 to app across the codebase. Please verify that the new path correctly resolves within the project structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/properties/DeploymentResourcesDialog.tsx (1)

28-29: Refactor Import Paths to Reflect New Directory Structure

The updated import statements now correctly reference the new (app) directory instead of the old (appv2) path. This change aligns perfectly with the PR objective to rename appv2 to app and ensures that the modules ResourceConditionRender and ResourceList are imported from their updated locations. Please verify that these new paths are consistent across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/_components/system-deployment-table/SystemDeploymentTable.tsx (1)

29-30: Refactored Import Paths Updated Correctly.

The import statements for both CreateDeploymentDialog and DeleteSystemDialog have been updated to reflect the new (app) directory structure, replacing the previous (appv2) paths. Please verify that the new paths correspond correctly to your updated project layout and that these components exist in the specified locations.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/EnvironmentDrawer.tsx (1)

21-21: Updated Import Path for TabButton

The import has been updated from the old (appv2) directory to (app), which aligns with the overall refactoring objective. This change correctly reflects the new directory structure and ensures consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowPanel.tsx (1)

38-38: Update Import Path for EnvironmentDrawer

The import has been updated from the old (appv2) directory to the new (app) directory. This change fulfills the PR objective and maintains consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/policies/EnvFlowBuilder.tsx (2)

25-27: Update Import Paths for Environment Drawer Utilities

The imports for useEnvironmentDrawer, useEnvironmentPolicyDrawer, and ArrowEdge have been adjusted from the old (appv2) path to the new (app) path. This refactoring is consistent with the PR objective and helps standardize the directory structure.


32-33: Update Import Paths for React Flow Helpers

The import statements for the react-flow related utilities and layout hook have been updated to reference the (app) directory. This change ensures that the components are correctly organized under the new directory structure.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/policy/drawer/EnvironmentPolicyDrawer.tsx (1)

26-31: Refactor Import Paths for Updated Directory Structure.
The updated import statements correctly point to the new (app) directory, aligning with the objective of renaming references from appv2 to app. This change is consistent with similar updates across the codebase, and the new paths appear to be accurate.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/_components/variables/ConfigFields.tsx (1)

33-34: Update Import Paths to Reflect Directory Rename
The import paths for both ResourceConditionBadge and ResourceConditionDialog have been updated from (appv2) to (app), which aligns with the refactor objective to rename the directory. This change is straightforward and does not affect runtime behavior, but please verify that the new paths correctly resolve in the overall project structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/VariableValueDropdown.tsx (1)

51-51: Updated Import Path is Correct.

The import path has been updated from (appv2) to (app), which aligns with the refactoring objective for directory renaming. This change is consistent with the new organizational structure and should maintain the expected functionality of the component.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/resources/drawer/ResourceDrawer.tsx (1)

23-24: Update Import Paths from (appv2) to (app)
The import paths for both TabButton and EditResourceDialog have been correctly updated to reference the new (app) directory instead of the old (appv2) directory. This change aligns perfectly with the PR objective to refactor the imports, and it ensures that the file system structure remains consistent across the application.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/visualize/ResourceVisualizationDiagram.tsx (1)

12-12: Refactored Import Path for useLayoutAndFitView
The import path has been correctly updated from using (appv2) to (app), ensuring that the hook is now imported from its new location according to the project-wide refactor. This update aligns with the PR objectives and maintains consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/release/condition/ReleaseVersionConditionRender.tsx (1)

8-8: Updated Import Path Reflects Directory Renaming.
The updated import for ColumnConditionRender now correctly references the new (app) directory instead of the old appv2. Please ensure that the alias ~ correctly resolves to the appropriate root path in your build configuration to avoid any runtime import issues.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/layout.tsx (1)

24-25: Import paths updated correctly from appv2 to app.
The new import statements for PageHeader and SidebarLink now reference the (app) directory as expected per the refactoring objective. Ensure that the corresponding component files have been moved to or exist in these new locations to avoid any runtime resolution issues.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/TableDeployments.tsx (3)

18-18: Correct Import Update for DeploymentDirectoryCell

The import path has been updated from (appv2) to (app), which now correctly references the new directory structure for the DeploymentDirectoryCell component.


19-19: Correct Import Update for DeploymentOptionsDropdown

The import path for DeploymentOptionsDropdown has been modified to point to the (app) directory. Verify that this module's location is consistent across the codebase after the renaming.


20-20: Correct Import Update for LazyDeploymentEnvironmentCell

The updated import path now correctly reflects the move from (appv2) to (app) for the LazyDeploymentEnvironmentCell component. This ensures the component will be correctly resolved during runtime.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/channels/ReleaseChannelsTable.tsx (1)

15-16: Updated Import Paths - Confirming Directory Rename

The import statements have been correctly updated from (appv2) to (app). The new paths for both useReleaseChannelDrawer and ReleaseConditionBadge accurately reflect the reorganization of your component structure. Please ensure that all other parts of the codebase are consistent with this change.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/resources/EnvironmentResourcesTable.tsx (1)

22-23: Updated Import Paths to Reflect Directory Restructuring

The imports for useDeploymentEnvResourceDrawer and JobTableStatusIcon have been updated to use the new (app) directory instead of the previous (appv2) structure. This change aligns with the PR objective and ensures consistency throughout the codebase. Please verify that these paths correctly resolve to the intended modules in the new directory structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/release/CreateRelease.tsx (1)

51-51: Update the Import Path to the New Directory Structure

The import for ReleaseConditionDialog has been correctly updated from the (appv2) directory to (app), which is in line with the PR objective of renaming "appv2" to "app". Please ensure that all similar imports in the project have been updated consistently.

apps/webservice/src/app/[workspaceSlug]/(app)/layout.tsx (1)

4-5: Import Path Refactor for Environment Components

The import statements for both EnvironmentDrawer (line 4) and EnvironmentPolicyDrawer (line 5) have been updated to use the new (app) directory instead of the deprecated (appv2) path. This change is perfectly aligned with the PR objectives and should ensure consistency with the reorganized component structure. Please verify that the components are located in the new paths as expected.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/layout.tsx (2)

24-24: Updated Import for PageHeader: Correctly refactored to use the new (app) directory.
The updated absolute import path aligns with the overall directory renaming from (appv2) to (app). Verify that your module resolution configurations (e.g., tsconfig paths) support this absolute path format.


27-27: Relative Import for SidebarLink: Verify Import Resolution.
Although the relative path (../../(sidebar)/SidebarLink) is not marked as changed, please confirm that it correctly resolves within the new directory structure. Consistency in import styles (absolute vs. relative) across the codebase is helpful for maintenance.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/_components/deployments/charts/DeploymentBarChart.tsx (1)

13-13: Updated Import for getStatusColor: Refactor Reflected.
The import path update from (appv2) to (app) is correct and consistent with the restructuring effort. Please verify that all dependent components are also referencing the updated utility path.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/environments/[environmentId]/deployments/page.tsx (1)

1-1: Refactored Import for DeploymentsCard: Correct Update.
The import for DeploymentsCard has been updated to use the new (app) directory—this is in line with the PR objectives. Ensure that the component usage within the file remains unchanged.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/deployments/ResourceDeploymentRowSkeleton.tsx (1)

3-3: Updated Import for HistorySkeleton: Correct Directory Change.
The import has been successfully updated from the old (appv2) path to (app) for the HistorySkeleton component. This change is consistent with the overall refactoring—nice work.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/EnvironmentRowDropdown.tsx (1)

11-11: Updated Import for OverrideJobStatusDialog: Consistent Refactoring.
The import now references the component from the (app) directory instead of (appv2), which is aligned with the overall renaming effort. Ensure that this change is reflected in any corresponding type or component usage across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/page.tsx (1)

6-6: Update Import for PageHeader:
The import path has been correctly updated from the old (appv2) directory to the new (app) directory for the PageHeader component. This change is consistent with the overall refactor and should ensure that the component resolves properly across the project.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/DeploymentCTA.tsx (1)

8-8: Update Import for CreateReleaseDialog:
The import for CreateReleaseDialog now points to the (app) directory instead of (appv2), aligning with the new directory structure. This update improves consistency and maintainability.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/runbooks/create/page.tsx (1)

16-16: Update Import for PageHeader:
The import statement for PageHeader has been updated to use the new (app) directory instead of the previous (appv2) path. This change adheres to the refactoring objective and maintains consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/agents/page.tsx (1)

14-14: Update Import for PageHeader:
The updated import statement for PageHeader correctly reflects the new directory structure by referencing the (app) directory. This refactor contributes to a more organized and consistent codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/variables/page.tsx (1)

3-3: Update Import for PageHeader:
The import path for PageHeader has been updated from (appv2) to (app), ensuring consistency with the broader structural changes made throughout the codebase. Verify that the component integration remains seamless after this update.

apps/webservice/src/app/[workspaceSlug]/(app)/resources/(raw)/[resourceId]/properties/page.tsx (1)

13-13: Update MetadataInfo import path.
The import now correctly reflects the new (app) directory structure. Ensure that the MetadataInfo component exists at the updated location.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/deployments/page.tsx (1)

5-6: Align deployment component imports with new structure.
Both CreateDeploymentDialog and PageHeader are now imported from the (app) directory instead of (appv2). Please verify that these components are available at the new paths and that no unexpected issues arise from this change.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/systems/SystemsPageContent.tsx (1)

41-42: Migrate sidebar deployment imports to new paths.
The imports for CreateDeploymentDialog and PageHeader have been updated to reference the (app) directory structure. This change is in line with the overall refactor; please double-check that the new paths resolve as expected.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/variables/ConfigFields.tsx (1)

33-34: Update resource condition component paths.
The import paths for ResourceConditionBadge and ResourceConditionDialog have been modified from (appv2) to (app). This update should align with the new project structure—please verify that these components are correctly located in the new directory.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(sidebar)/deployments/page.tsx (1)

8-10: Update Import Paths for Component Consistency
The import paths for DeploymentsCard, CreateDeploymentDialog, and PageHeader have been updated from (appv2) to (app). This change is correctly applied and aligns with the new directory structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/settings/page.tsx (1)

6-7: Refactor Import Statements
The updated import paths for PageHeader and DeleteSystemDialog now correctly reflect the new (app) directory structure. The changes are clear and consistent with similar updates elsewhere in the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/EnvironmentApprovalRow.tsx (1)

7-7: Correct ApprovalDialog Import Update
The ApprovalDialog import has been updated to reference the (app) directory. This change is consistent with the overall refactoring strategy and should not affect runtime functionality.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/environment/drawer/policy-override/UpdateOverride.tsx (1)

4-8: Update Component Import Paths
The imports for ApprovalAndGovernance, DeploymentControl, ReleaseChannels, ReleaseManagement, and RolloutAndTiming have been refactored from (appv2) to (app). The changes are systematic and maintain consistency with the new directory layout.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/ApprovalCheck.tsx (1)

3-3: Refactor ApprovalDialog Import
The import for ApprovalDialog has been updated to use the (app) directory instead of (appv2). This adjustment follows the overall refactoring objective and is correctly implemented.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(sidebar)/environments/page.tsx (1)

5-5: Updated PageHeader Import Path
The import statement now correctly points to the new (app) directory instead of (appv2), aligning with the overall refactor.

apps/webservice/src/app/[workspaceSlug]/(app)/_components/job/drawer/JobDrawer.tsx (1)

16-16: Updated useReleaseChannel Hook Path
The hook import is updated from (appv2) to (app), which is consistent with the renaming objective and maintains uniform directory references.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/page.tsx (1)

7-7: Corrected ReactFlowProvider Import Path
The ReactFlowProvider component import now reflects the new component location by using (app) rather than (appv2), ensuring consistency across the codebase.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/EnvironmentNode.tsx (2)

27-27: Updated useReleaseChannelDrawer Hook Path
The change in the import path (from (appv2) to (app)) for the useReleaseChannelDrawer hook correctly aligns with the restructuring effort.


28-28: Updated useReleaseChannel Hook Path
The import for useReleaseChannel has been updated appropriately to reflect the new directory structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/TableCells.tsx (1)

42-47: Revised Import Paths for DeploymentBarChart, ReleaseDropdownMenu, and Status Utilities
All affected imports are now updated from (appv2) to (app), ensuring a uniform and streamlined component directory structure.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/checks/_components/flow-diagram/FlowDiagram.tsx (3)

7-7: Updated Import: ArrowEdge
The import for ArrowEdge has been updated from (appv2) to (app). This change is straightforward and consistent with the new directory structure.


8-12: Updated Import: Edge Creation Functions
The import for the edge creation functions—createEdgesFromPolicyDeployment, createEdgesFromPolicyToEnvironment, and createEdgesWherePolicyHasNoEnvironment—has been correctly updated to point to the new (app) directory.


13-13: Updated Import: useLayoutAndFitView
The import for useLayoutAndFitView now correctly references (app) instead of (appv2). Verify that the layout behavior remains consistent after this change.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(sidebar)/_components/release-cell/ReleaseEnvironmentCell.tsx (3)

20-20: Updated Import: useReleaseChannelDrawer
The import for useReleaseChannelDrawer has been updated from (appv2) to (app). This update aligns with the new component structure.


21-21: Updated Import: ApprovalDialog
The ApprovalDialog import now reflects the updated directory structure, moving from (appv2) to (app).


22-22: Updated Import: ReleaseDropdownMenu
The import for ReleaseDropdownMenu has been modified to use the new (app) path. This change is consistent with the overall refactor.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/jobs/release-table/ResourceReleaseTable.tsx (7)

34-34: Updated Import: JobConditionBadge
The import path for JobConditionBadge is updated from (appv2) to (app), matching the new structural organization.


35-35: Updated Import: JobConditionDialog
The JobConditionDialog import has been updated accordingly. All references to these condition components should now point to the (app) directory.


36-36: Updated Import: useJobDrawer
The import for useJobDrawer now references (app) instead of (appv2), ensuring consistency across the codebase.


37-37: Updated Import: JobDropdownMenu
The JobDropdownMenu import has been updated to the new (app) structure. This ensures that the component is sourced from the correct directory.


38-38: Updated Import: JobTableStatusIcon
The import for JobTableStatusIcon now targets (app), aligning with the remainder of the refactored imports.


39-39: Updated Import: useReleaseChannel
The hook useReleaseChannel has been updated to point to the (app) directory. This change is consistent with the new directory structure.


40-40: Updated Import: useFilter
The import for useFilter now points to the updated (app) path. This update is simple and consistent with the overall refactor.

apps/webservice/src/app/[workspaceSlug]/(app)/(deploy)/(raw)/systems/[systemSlug]/(raw)/deployments/[deploymentSlug]/(raw)/releases/[releaseId]/properties/page.tsx (1)

9-10: Update Import Paths for Refactored Components

The import statements for ConfigEditor and MetadataInfo have been updated to reflect the new directory structure—from (appv2) to (app). This change aligns perfectly with the PR objective to rename appv2 to app. Please verify that these new paths correctly reflect the actual file locations within the project and that all related references throughout the codebase have been updated accordingly.

Tabs,
TabsList,
} from "~/app/[workspaceSlug]/(appv2)/_components/navigation/Tabs";
} from "~/app/[workspaceSlug]/(app)/_components/navigation/Tabs";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Update import path to reflect directory renaming.

The import for the navigation Tabs components now correctly uses the (app) directory instead of the old (appv2) structure. Please verify that all other references in the codebase have been similarly updated to maintain consistency with the new project structure.

@adityachoudhari26 adityachoudhari26 merged commit a97493c into main Mar 15, 2025
5 of 6 checks passed
@adityachoudhari26 adityachoudhari26 deleted the fix--Rename-appv2-to-app branch March 15, 2025 23:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants